package org.bsplus.dao.jpa;

import java.util.List;

import org.springframework.orm.jpa.support.JpaDaoSupport;

public class JpaDAO extends JpaDaoSupport
{
	@SuppressWarnings("unchecked")
	protected <T> List<T> findAll(Class<T> clazz)
	{
		return getJpaTemplate().find("from " + clazz.getName());
	}
}
